package com.ruoyi.common.enums;

/**
 * 是/否状态
 *
 * @author gpwu
 */
public enum DefaultStatus {
    NO("0", "否"), YES("1", "是");

    private final String code;
    private final String info;

    DefaultStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
